
setInterval(() => {
    console.log("11");
}, 1000);

var exsit = false;

process.on('SIGINT',()=>{

    if(exsit){
        console.log('停止了');
        process.exit();
    }else{
        exsit = true;
    }
})